<?php
class design{
    public function textFields($type,$attribute,$value){
        foreach($attribute as  $a=>$c){
            $flds .= '<input type="'.$type.'" '.$a.'='.$c.' class="input-login"/>';
        }
        
        return $flds;
    }
}



?>